/**
 *
 */
package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DoctorCertificateVoucher;
import com.naiterui.ehp.bs.doctor.dao.IDoctorCertificateVoucherDao;
import org.springframework.stereotype.Repository;

/**
 * @author Ldl
 * @since 1.0.0
 */
@Repository
public interface IDoctorCertificateVoucherRepository extends BaseJpaRepository<DoctorCertificateVoucher, Long>  {


    /**
     * @Author Ldl
     * @Date 2017年8月4日
     * @since 1.0.0
     * @param doctorId
     * @return
     * @see IDoctorCertificateVoucherDao#findDoctorCertificateVoucherByDoctorId(Long)
     */
    DoctorCertificateVoucher findFirstByDoctorId(Long doctorId);

}
